import { useEffect, useState } from 'react';
import http from '@/services/request';
function UesrepoInfo() {
  const [dataSource, setDataSource] = useState(['']);
  useEffect(() => {
    http.get('/server/repositorySlaughter/list/1/100').then((res) => {
      setDataSource(res.data.records);
    });
  }, []);
  return {
    dataSource
  };
}

export default UesrepoInfo;
